home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 247_02 / pcdoit.bat < prev    next >
DOS Batch File  |  1989-04-17  |  3KB  |  123 lines

  1. rem MIRACL - IBM PC/MS-DOS Version 2.0
  2. rem This batch files creates miracl.lib from its component parts
  3. rem using the Power C v1.02 (or greater) compiler, and the Power C MERGE
  4. rem librarian. Contributed by Dr. K.J. Vines of Altrincham, Cheshire, England.
  5. rem Also included are the commands to create all the example programs
  6. rem using the Power C PCL link utility.
  7. rem
  8. rem Read your compiler documentation for further information
  9. rem 
  10. rem Invoke as "pcdoit". It is assumed that paths have been correctly set up to
  11. rem the compiler, librarian and linker.
  12. rem
  13. rem Note - use with care. There is insufficient space for all of the files
  14. rem created by this batch file on the distribution diskette alone.
  15. rem
  16. rem Provided mainly as a guide for creating a batch file tailored
  17. rem specifically to your own configuration.
  18. rem
  19. rem On a diskette based system these commands should be executed manually,
  20. rem changing diskettes as necessary
  21. rem
  22. rem Compile MIRACL modules
  23. pc/fa bncore
  24. pc/fa bnarth0
  25. pc/fa bnarth1
  26. pc/fa bnarth2
  27. pc/fa bnsmall
  28. pc/fa bnround
  29. pc/fa bnio1
  30. pc/fa bnio2
  31. pc/fa bngcd
  32. pc/fa bnxgcd
  33. pc/fa bnarth3
  34. pc/fa bnrand
  35. pc/fa bnprime
  36. pc/fa bnflash
  37. pc/fa bndouble
  38. pc/fa bnbuild
  39. pc/fa bnflsh1
  40. pc/fa bnpi
  41. pc/fa bnflsh2
  42. pc/fa bnflsh3
  43. pc/fa bnflsh4
  44. rem 
  45. rem This implementation uses C version of bnmuldv.c
  46. pc/fa bnmuldv.c
  47. rem
  48. rem Create library 'miracl.lib'
  49. del miracl.lib
  50. merge miracl  bnflsh4 bnflsh3 bnflsh2 bnpi bnflsh1
  51. merge miracl  bnio2 bnio1 bndouble
  52. merge miracl  bnflash bnrand bnprime
  53. merge miracl  bnxgcd bngcd bnround bnbuild
  54. merge miracl  bnarth3 bnarth2 bnarth1 bnarth0
  55. merge miracl  bnsmall bncore bnmuldv
  56. del bn*.mix
  57. rem
  58. rem Compile and link example programs
  59. pc/fa brute
  60. pcl brute.mix ;miracl
  61. del brute.mix
  62. pc/fa mersenne
  63. pcl mersenne.mix ;miracl
  64. del mersenne.mix
  65. pc/fa rsakey
  66. pcl rsakey.mix ;miracl
  67. del rsakey.mix
  68. pc/fa encode
  69. pcl encode.mix ;miracl
  70. del encode.mix
  71. pc/fa decode
  72. pcl decode.mix ;miracl
  73. del decode.mix
  74. pc/fa okakey
  75. pcl okakey.mix ;miracl
  76. del okakey.mix
  77. pc/fa enciph
  78. pcl enciph.mix ;miracl
  79. del enciph.mix
  80. pc/fa deciph
  81. pcl deciph.mix ;miracl
  82. del deciph.mix
  83. pc/fa pi
  84. pcl pi.mix ;miracl
  85. del pi.mix
  86. pc/fa sample
  87. pcl sample.mix ;miracl
  88. del sample.mix
  89. pc/fa roots
  90. pcl roots.mix ;miracl
  91. del roots.mix
  92. pc/fa hilbert
  93. pcl hilbert.mix ;miracl
  94. del hilbert.mix
  95. pc/fa brent
  96. pcl brent.mix ;miracl
  97. del brent.mix
  98. pc/fa pollard
  99. pcl pollard.mix ;miracl
  100. del pollard.mix
  101. pc/fa williams
  102. pcl williams.mix ;miracl
  103. del williams.mix
  104. pc/fa lenstra
  105. pcl lenstra.mix ;miracl
  106. del lenstra.mix
  107. pc/fa qsieve
  108. pcl qsieve.mix ;miracl
  109. del qsieve.mix
  110. pc/fa fact
  111. pcl fact.mix ;miracl
  112. del fact.mix
  113. pc/fa palin
  114. pcl palin.mix ;miracl
  115. del palin.mix
  116. pc/fa hail
  117. pcl hail.mix ;miracl
  118. del hail.mix
  119. pc/fa ratcalc
  120. pcl ratcalc.mix ;miracl
  121. del ratcalc.mix
  122.  
  123.